<?php
require_once(__DIR__.'/../utils/abs-path.php');

$config = array();

//must be a relative path
$config["upload_dir"] = realpath(__DIR__."/../../upload/");

$config["cache_dir"] = realpath(__DIR__."/../../cache");

$config["fallback"] = realpath(__DIR__."/../../upload/error.png");

$config["transform"] = array(
  array(
    "suffix" => "_c300x300q30",
    "width"  => "300",
    "height" => "300",
    "crop"   => true,
    "quality" => 30
  ),
  array(
    "suffix" => "_c50x50q30",
    "width"  => "50",
    "height" => "50",
    "crop"   => true,
    "quality" => 30
  ),
  array(
    "suffix" => "_c100x100q30",
    "width"  => "100",
    "height" => "100",
    "crop"   => true,
    "quality" => 30
  ),
  array(
    "suffix" => "_100x100q50",
    "width"  => "100",
    "height" => "100",
    "crop"   => false,
    "quality" => 50
  ),
  array(
    "suffix" => "_50x50q50",
    "width"  => "50",
    "height" => "50",
    "crop"   => false,
    "quality" => 50
  )
);

/* End of file config.php */
